package net.tribal.comic.entities

class Rate {

	//	Attributes
	Float 	rate

	Date 	dateCreated
	Date 	lastUpdated

	User createdBy
	//	DB Relations & Constraits
	static belongsTo	= 	User
	static hasMany 		=	[userRatings : User]
	
	static mapping = {
		userRatings joinTable: "user_ratings"
    }
}
